// created by noellynch
// Apr 25, 2008

package com.sceneworker.util.xml.test;



import java.util.ArrayList;

import com.sceneworker.util.xml.TagCallBackLoader;
import com.sceneworker.util.xml.TagCallbackStruct;

public class XMLTester 
{
	public
	XMLTester()
	{
		// this is a test
		ArrayList<Object>		mcla_data = new ArrayList<Object>();
		
		TagCallBackLoader		lcl_loader = new TagCallBackLoader(mcla_data);
		
		lcl_loader.addCallback("importer", new TagCallbackStruct(ImporterTag.class.getName()));
		lcl_loader.addCallback("createNode", new TagCallbackStruct(CreateNodeTag.class.getName()));
		
		TagCallBackLoader.loadXMLFile("data/xml/temp.xml", lcl_loader, false);
		
		for(Object lcl_dataEntry : mcla_data){
			System.out.println(lcl_dataEntry.toString());
		}
	}
	
	/**
	 * @param args
	 */
	public static void main(String[] args) 
	{
		XMLTester	lcl_main = new XMLTester();
	}

}
